package com.antoco.operation.bigscreen.model.dto;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="DuhaiRonduDTO")
public class DuhaiRonduDTO {

    @NotNull(message = "月份标识不能为空")
    @ApiModelProperty(value = "月份标识", example="01")
    private String monthId;

    @NotNull(message = "H2S值不能为空")
    @Min(value = 0, message = "H2S值必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "H2S值必须是整数")
    @ApiModelProperty(value = "H2S值", example="300")
    private String h2sVal;

    @NotNull(message = "CH2值不能为空")
    @Min(value = 0, message = "CH2值必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "CH2值必须是整数")
    @ApiModelProperty(value = "CH2值", example="300")
    private String ch2Val;

    @NotNull(message = "CO值不能为空")
    @Min(value = 0, message = "CO值必须是正整数")
    @Digits(integer = 10, fraction = 0, message = "CO值必须是整数")
    @ApiModelProperty(value = "CO值", example="300")
    private String coVal;
}